package Turma.Jogo;

import android.framework.Game;
import android.framework.Graphics.PixmapFormat;
import android.graphics.Color;


public class Congrats extends Scene
{
	Background background;

	int i = 0;
	int MAX = 100;

	public Congrats(Game game)
	{
		super(game);
		background = new Background(game.getGraphics(), "bgCongrats.png", PixmapFormat.ARGB4444, 0, 0);
	}

	@Override
	public void update(float deltaTime) 
	{
		if(Click() == "down")
		{
			SceneManager.MudarCena();
		}
	}

	@Override
	public void draw(float deltaTime)
	{
		background.draw(deltaTime, game.getGraphics());
		
		graphics.drawText("GameOver: " + i, 10, 10, Color.WHITE);
	}
}